Integrand size = 37, antiderivative size = 168 \[ \int \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \left (A+C \sec ^2(c+d x)\right ) \, dx=\frac {4 a (24 A+35 C) \sin (c+d x)}{105 d \sqrt {\cos (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {2 a (24 A+35 C) \sqrt {\cos (c+d x)} \sin (c+d x)}{105 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a A \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{35 d \sqrt {a+a \sec (c+d x)}}+\frac {2 A \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{7 d} \]
[Out]
Time = 0.62 (sec) , antiderivative size = 168, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.135, Rules used = {4350, 4172, 4100, 3890, 3889} \[ \int \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \left (A+C \sec ^2(c+d x)\right ) \, dx=\frac {2 a (24 A+35 C) \sin (c+d x) \sqrt {\cos (c+d x)}}{105 d \sqrt {a \sec (c+d x)+a}}+\frac {4 a (24 A+35 C) \sin (c+d x)}{105 d \sqrt {\cos (c+d x)} \sqrt {a \sec (c+d x)+a}}+\frac {2 A \sin (c+d x) \cos ^{\frac {5}{2}}(c+d x) \sqrt {a \sec (c+d x)+a}}{7 d}+\frac {2 a A \sin (c+d x) \cos ^{\frac {3}{2}}(c+d x)}{35 d \sqrt {a \sec (c+d x)+a}} \]
[In]
[Out]
Rule 3889
Rule 3890
Rule 4100
Rule 4172
Rule 4350
Rubi steps \begin{align*} \text {integral}& = \left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \sec (c+d x)} \left (A+C \sec ^2(c+d x)\right )}{\sec ^{\frac {7}{2}}(c+d x)} \, dx \\ & = \frac {2 A \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{7 d}+\frac {\left (2 \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \sec (c+d x)} \left (\frac {a A}{2}+\frac {1}{2} a (4 A+7 C) \sec (c+d x)\right )}{\sec ^{\frac {5}{2}}(c+d x)} \, dx}{7 a} \\ & = \frac {2 a A \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{35 d \sqrt {a+a \sec (c+d x)}}+\frac {2 A \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{7 d}+\frac {1}{35} \left ((24 A+35 C) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sec ^{\frac {3}{2}}(c+d x)} \, dx \\ & = \frac {2 a (24 A+35 C) \sqrt {\cos (c+d x)} \sin (c+d x)}{105 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a A \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{35 d \sqrt {a+a \sec (c+d x)}}+\frac {2 A \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{7 d}+\frac {1}{105} \left (2 (24 A+35 C) \sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \sec (c+d x)}}{\sqrt {\sec (c+d x)}} \, dx \\ & = \frac {4 a (24 A+35 C) \sin (c+d x)}{105 d \sqrt {\cos (c+d x)} \sqrt {a+a \sec (c+d x)}}+\frac {2 a (24 A+35 C) \sqrt {\cos (c+d x)} \sin (c+d x)}{105 d \sqrt {a+a \sec (c+d x)}}+\frac {2 a A \cos ^{\frac {3}{2}}(c+d x) \sin (c+d x)}{35 d \sqrt {a+a \sec (c+d x)}}+\frac {2 A \cos ^{\frac {5}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \sin (c+d x)}{7 d} \\ \end{align*}
Time = 0.35 (sec) , antiderivative size = 90, normalized size of antiderivative = 0.54 \[ \int \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \left (A+C \sec ^2(c+d x)\right ) \, dx=\frac {\sqrt {\cos (c+d x)} (228 A+280 C+(141 A+140 C) \cos (c+d x)+36 A \cos (2 (c+d x))+15 A \cos (3 (c+d x))) \sqrt {a (1+\sec (c+d x))} \sin (c+d x)}{210 d (1+\cos (c+d x))} \]
[In]
[Out]
Time = 0.64 (sec) , antiderivative size = 87, normalized size of antiderivative = 0.52
method | result | size |
default | \(-\frac {2 \sqrt {a \left (1+\sec \left (d x +c \right )\right )}\, \left (\cos \left (d x +c \right )-1\right ) \left (15 A \cos \left (d x +c \right )^{3}+18 A \cos \left (d x +c \right )^{2}+24 A \cos \left (d x +c \right )+35 C \cos \left (d x +c \right )+48 A +70 C \right ) \sqrt {\cos \left (d x +c \right )}\, \csc \left (d x +c \right )}{105 d}\) | \(87\) |
[In]
[Out]
none
Time = 0.28 (sec) , antiderivative size = 92, normalized size of antiderivative = 0.55 \[ \int \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \left (A+C \sec ^2(c+d x)\right ) \, dx=\frac {2 \, {\left (15 \, A \cos \left (d x + c\right )^{3} + 18 \, A \cos \left (d x + c\right )^{2} + {\left (24 \, A + 35 \, C\right )} \cos \left (d x + c\right ) + 48 \, A + 70 \, C\right )} \sqrt {\frac {a \cos \left (d x + c\right ) + a}{\cos \left (d x + c\right )}} \sqrt {\cos \left (d x + c\right )} \sin \left (d x + c\right )}{105 \, {\left (d \cos \left (d x + c\right ) + d\right )}} \]
[In]
[Out]
Timed out. \[ \int \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \left (A+C \sec ^2(c+d x)\right ) \, dx=\text {Timed out} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. 387 vs. \(2 (144) = 288\).
Time = 0.44 (sec) , antiderivative size = 387, normalized size of antiderivative = 2.30 \[ \int \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \left (A+C \sec ^2(c+d x)\right ) \, dx=\frac {3 \, \sqrt {2} {\left (105 \, \cos \left (\frac {6}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) \sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) + 35 \, \cos \left (\frac {4}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) \sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) + 7 \, \cos \left (\frac {2}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) \sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) - 105 \, \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) \sin \left (\frac {6}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) - 35 \, \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) \sin \left (\frac {4}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) - 7 \, \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) \sin \left (\frac {2}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) + 10 \, \sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ) + 7 \, \sin \left (\frac {5}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) + 35 \, \sin \left (\frac {3}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right ) + 105 \, \sin \left (\frac {1}{7} \, \arctan \left (\sin \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right ), \cos \left (\frac {7}{2} \, d x + \frac {7}{2} \, c\right )\right )\right )\right )} A \sqrt {a} - 140 \, {\left (3 \, \sqrt {2} \cos \left (\frac {3}{2} \, \arctan \left (\sin \left (d x + c\right ), \cos \left (d x + c\right )\right )\right ) \sin \left (d x + c\right ) - {\left (3 \, \sqrt {2} \cos \left (d x + c\right ) + 2 \, \sqrt {2}\right )} \sin \left (\frac {3}{2} \, \arctan \left (\sin \left (d x + c\right ), \cos \left (d x + c\right )\right )\right ) - 3 \, \sqrt {2} \sin \left (\frac {1}{2} \, \arctan \left (\sin \left (d x + c\right ), \cos \left (d x + c\right )\right )\right )\right )} C \sqrt {a}}{840 \, d} \]
[In]
[Out]
\[ \int \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \left (A+C \sec ^2(c+d x)\right ) \, dx=\int { {\left (C \sec \left (d x + c\right )^{2} + A\right )} \sqrt {a \sec \left (d x + c\right ) + a} \cos \left (d x + c\right )^{\frac {7}{2}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \cos ^{\frac {7}{2}}(c+d x) \sqrt {a+a \sec (c+d x)} \left (A+C \sec ^2(c+d x)\right ) \, dx=\int {\cos \left (c+d\,x\right )}^{7/2}\,\left (A+\frac {C}{{\cos \left (c+d\,x\right )}^2}\right )\,\sqrt {a+\frac {a}{\cos \left (c+d\,x\right )}} \,d x \]
[In]
[Out]